using Microsoft.VisualBasic;
using Microsoft.VisualBasic.CompilerServices;
using SJVars;
using Spacejock;
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Runtime.CompilerServices;
using System.Windows.Forms;
using yW5Lib;
using yWriter6.My.Resources;

namespace yWriter6
{
	[DesignerGenerated]
	internal class frmWordTarget : Form
	{
		private IContainer components;

		public ToolTip ToolTip1;

		[CompilerGenerated]
		[AccessedThroughProperty("cmdSave")]
		private Button _cmdSave;

		[CompilerGenerated]
		[AccessedThroughProperty("cmdCopy")]
		private Button _cmdCopy;

		[CompilerGenerated]
		[AccessedThroughProperty("cmdExit")]
		private Button _cmdExit;

		[CompilerGenerated]
		[AccessedThroughProperty("txtWordsToWrite")]
		private TextBox _txtWordsToWrite;

		[CompilerGenerated]
		[AccessedThroughProperty("txtStartCount")]
		private TextBox _txtStartCount;

		[CompilerGenerated]
		[AccessedThroughProperty("Label11")]
		private Label _Label11;

		[CompilerGenerated]
		[AccessedThroughProperty("lblTotalWords")]
		private Label _lblTotalWords;

		[CompilerGenerated]
		[AccessedThroughProperty("lblMid")]
		private Label _lblMid;

		[CompilerGenerated]
		[AccessedThroughProperty("lblEnd")]
		private Label _lblEnd;

		[CompilerGenerated]
		[AccessedThroughProperty("lblStart")]
		private Label _lblStart;

		[CompilerGenerated]
		[AccessedThroughProperty("lblStatus")]
		private Label _lblStatus;

		[CompilerGenerated]
		[AccessedThroughProperty("Label9")]
		private Label _Label9;

		[CompilerGenerated]
		[AccessedThroughProperty("lblNumDays")]
		private Label _lblNumDays;

		[CompilerGenerated]
		[AccessedThroughProperty("lblWordsPerDay")]
		private Label _lblWordsPerDay;

		[CompilerGenerated]
		[AccessedThroughProperty("Label7")]
		private Label _Label7;

		[CompilerGenerated]
		[AccessedThroughProperty("lblProjCount")]
		private Label _lblProjCount;

		[CompilerGenerated]
		[AccessedThroughProperty("Label6")]
		private Label _Label6;

		[CompilerGenerated]
		[AccessedThroughProperty("Label5")]
		private Label _Label5;

		[CompilerGenerated]
		[AccessedThroughProperty("Label4")]
		private Label _Label4;

		[CompilerGenerated]
		[AccessedThroughProperty("Label3")]
		private Label _Label3;

		[CompilerGenerated]
		[AccessedThroughProperty("Label2")]
		private Label _Label2;

		[CompilerGenerated]
		[AccessedThroughProperty("lblStartDate")]
		private Label _lblStartDate;

		[CompilerGenerated]
		[AccessedThroughProperty("lblEndDate")]
		private Label _lblEndDate;

		[CompilerGenerated]
		[AccessedThroughProperty("cmdHelp")]
		private Button _cmdHelp;

		[CompilerGenerated]
		[AccessedThroughProperty("ProgressBar1")]
		private ProgressBar _ProgressBar1;

		[CompilerGenerated]
		[AccessedThroughProperty("lblTitle")]
		private Label _lblTitle;

		[CompilerGenerated]
		[AccessedThroughProperty("lblAuthor")]
		private Label _lblAuthor;

		[CompilerGenerated]
		[AccessedThroughProperty("Label1")]
		private Label _Label1;

		[CompilerGenerated]
		[AccessedThroughProperty("Label8")]
		private Label _Label8;

		private bool SuppressChange;

		private clsProject cProject;

		private bool _0024STATIC_0024Recalc_00242001_0024Calculating;

		public virtual Button cmdSave
		{
			[CompilerGenerated]
			get
			{
				return _cmdSave;
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			[CompilerGenerated]
			set
			{
				EventHandler value2 = cmdSave_Click;
				Button cmdSave = _cmdSave;
				if (cmdSave != null)
				{
					cmdSave.Click -= value2;
				}
				_cmdSave = value;
				cmdSave = _cmdSave;
				if (cmdSave != null)
				{
					cmdSave.Click += value2;
				}
			}
		}

		public virtual Button cmdCopy
		{
			[CompilerGenerated]
			get
			{
				return _cmdCopy;
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			[CompilerGenerated]
			set
			{
				EventHandler value2 = cmdCopy_Click;
				Button cmdCopy = _cmdCopy;
				if (cmdCopy != null)
				{
					cmdCopy.Click -= value2;
				}
				_cmdCopy = value;
				cmdCopy = _cmdCopy;
				if (cmdCopy != null)
				{
					cmdCopy.Click += value2;
				}
			}
		}

		public virtual Button cmdExit
		{
			[CompilerGenerated]
			get
			{
				return _cmdExit;
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			[CompilerGenerated]
			set
			{
				EventHandler value2 = cmdExit_Click;
				Button cmdExit = _cmdExit;
				if (cmdExit != null)
				{
					cmdExit.Click -= value2;
				}
				_cmdExit = value;
				cmdExit = _cmdExit;
				if (cmdExit != null)
				{
					cmdExit.Click += value2;
				}
			}
		}

		public virtual TextBox txtWordsToWrite
		{
			[CompilerGenerated]
			get
			{
				return _txtWordsToWrite;
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			[CompilerGenerated]
			set
			{
				EventHandler value2 = txtEndCount_TextChanged;
				TextBox txtWordsToWrite = _txtWordsToWrite;
				if (txtWordsToWrite != null)
				{
					txtWordsToWrite.TextChanged -= value2;
				}
				_txtWordsToWrite = value;
				txtWordsToWrite = _txtWordsToWrite;
				if (txtWordsToWrite != null)
				{
					txtWordsToWrite.TextChanged += value2;
				}
			}
		}

		public virtual TextBox txtStartCount
		{
			[CompilerGenerated]
			get
			{
				return _txtStartCount;
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			[CompilerGenerated]
			set
			{
				EventHandler value2 = txtStartCount_TextChanged;
				TextBox txtStartCount = _txtStartCount;
				if (txtStartCount != null)
				{
					txtStartCount.TextChanged -= value2;
				}
				_txtStartCount = value;
				txtStartCount = _txtStartCount;
				if (txtStartCount != null)
				{
					txtStartCount.TextChanged += value2;
				}
			}
		}

		[field: AccessedThroughProperty("Label11")]
		public virtual Label Label11
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("lblTotalWords")]
		public virtual Label lblTotalWords
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("lblMid")]
		public virtual Label lblMid
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("lblEnd")]
		public virtual Label lblEnd
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("lblStart")]
		public virtual Label lblStart
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("lblStatus")]
		public virtual Label lblStatus
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("Label9")]
		public virtual Label Label9
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("lblNumDays")]
		public virtual Label lblNumDays
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("lblWordsPerDay")]
		public virtual Label lblWordsPerDay
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("Label7")]
		public virtual Label Label7
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("lblProjCount")]
		public virtual Label lblProjCount
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("Label6")]
		public virtual Label Label6
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("Label5")]
		public virtual Label Label5
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("Label4")]
		public virtual Label Label4
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("Label3")]
		public virtual Label Label3
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("Label2")]
		public virtual Label Label2
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		public virtual Label lblStartDate
		{
			[CompilerGenerated]
			get
			{
				return _lblStartDate;
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			[CompilerGenerated]
			set
			{
				EventHandler value2 = lblStartDate_Click;
				Label lblStartDate = _lblStartDate;
				if (lblStartDate != null)
				{
					lblStartDate.Click -= value2;
				}
				_lblStartDate = value;
				lblStartDate = _lblStartDate;
				if (lblStartDate != null)
				{
					lblStartDate.Click += value2;
				}
			}
		}

		public virtual Label lblEndDate
		{
			[CompilerGenerated]
			get
			{
				return _lblEndDate;
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			[CompilerGenerated]
			set
			{
				EventHandler value2 = lblEndDate_Click;
				Label lblEndDate = _lblEndDate;
				if (lblEndDate != null)
				{
					lblEndDate.Click -= value2;
				}
				_lblEndDate = value;
				lblEndDate = _lblEndDate;
				if (lblEndDate != null)
				{
					lblEndDate.Click += value2;
				}
			}
		}

		internal virtual Button cmdHelp
		{
			[CompilerGenerated]
			get
			{
				return _cmdHelp;
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			[CompilerGenerated]
			set
			{
				EventHandler value2 = cmdHelp_Click;
				Button cmdHelp = _cmdHelp;
				if (cmdHelp != null)
				{
					cmdHelp.Click -= value2;
				}
				_cmdHelp = value;
				cmdHelp = _cmdHelp;
				if (cmdHelp != null)
				{
					cmdHelp.Click += value2;
				}
			}
		}

		[field: AccessedThroughProperty("ProgressBar1")]
		internal virtual ProgressBar ProgressBar1
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("lblTitle")]
		internal virtual Label lblTitle
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("lblAuthor")]
		internal virtual Label lblAuthor
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("Label1")]
		public virtual Label Label1
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[field: AccessedThroughProperty("Label8")]
		public virtual Label Label8
		{
			get;
			[MethodImpl(MethodImplOptions.Synchronized)]
			set;
		}

		[DebuggerNonUserCode]
		protected override void Dispose(bool Disposing)
		{
			if (Disposing && components != null)
			{
				components.Dispose();
			}
			base.Dispose(Disposing);
		}

		[System.Diagnostics.DebuggerStepThrough]
		private void InitializeComponent()
		{
			components = new System.ComponentModel.Container();
			ToolTip1 = new System.Windows.Forms.ToolTip(components);
			cmdCopy = new System.Windows.Forms.Button();
			txtWordsToWrite = new System.Windows.Forms.TextBox();
			txtStartCount = new System.Windows.Forms.TextBox();
			lblTotalWords = new System.Windows.Forms.Label();
			lblMid = new System.Windows.Forms.Label();
			lblEnd = new System.Windows.Forms.Label();
			lblStart = new System.Windows.Forms.Label();
			lblNumDays = new System.Windows.Forms.Label();
			lblWordsPerDay = new System.Windows.Forms.Label();
			lblProjCount = new System.Windows.Forms.Label();
			lblStartDate = new System.Windows.Forms.Label();
			lblEndDate = new System.Windows.Forms.Label();
			cmdSave = new System.Windows.Forms.Button();
			cmdExit = new System.Windows.Forms.Button();
			Label11 = new System.Windows.Forms.Label();
			lblStatus = new System.Windows.Forms.Label();
			Label9 = new System.Windows.Forms.Label();
			Label7 = new System.Windows.Forms.Label();
			Label6 = new System.Windows.Forms.Label();
			Label5 = new System.Windows.Forms.Label();
			Label4 = new System.Windows.Forms.Label();
			Label3 = new System.Windows.Forms.Label();
			Label2 = new System.Windows.Forms.Label();
			cmdHelp = new System.Windows.Forms.Button();
			ProgressBar1 = new System.Windows.Forms.ProgressBar();
			lblTitle = new System.Windows.Forms.Label();
			lblAuthor = new System.Windows.Forms.Label();
			Label1 = new System.Windows.Forms.Label();
			Label8 = new System.Windows.Forms.Label();
			SuspendLayout();
			cmdCopy.BackColor = System.Drawing.SystemColors.Control;
			cmdCopy.Cursor = System.Windows.Forms.Cursors.Default;
			cmdCopy.FlatStyle = System.Windows.Forms.FlatStyle.System;
			cmdCopy.Font = new System.Drawing.Font("Segoe UI", 10f);
			cmdCopy.ForeColor = System.Drawing.SystemColors.ControlText;
			cmdCopy.Location = new System.Drawing.Point(156, 194);
			cmdCopy.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
			cmdCopy.Name = "cmdCopy";
			cmdCopy.RightToLeft = System.Windows.Forms.RightToLeft.No;
			cmdCopy.Size = new System.Drawing.Size(128, 24);
			cmdCopy.TabIndex = 23;
			cmdCopy.Text = "^ Copy value ^";
			ToolTip1.SetToolTip(cmdCopy, "Reads this value from 'Words in Project Now'");
			cmdCopy.UseVisualStyleBackColor = true;
			txtWordsToWrite.AcceptsReturn = true;
			txtWordsToWrite.BackColor = System.Drawing.SystemColors.Window;
			txtWordsToWrite.Cursor = System.Windows.Forms.Cursors.IBeam;
			txtWordsToWrite.Font = new System.Drawing.Font("Segoe UI", 10f);
			txtWordsToWrite.ForeColor = System.Drawing.SystemColors.WindowText;
			txtWordsToWrite.Location = new System.Drawing.Point(426, 159);
			txtWordsToWrite.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
			txtWordsToWrite.MaxLength = 6;
			txtWordsToWrite.Name = "txtWordsToWrite";
			txtWordsToWrite.RightToLeft = System.Windows.Forms.RightToLeft.No;
			txtWordsToWrite.Size = new System.Drawing.Size(128, 25);
			txtWordsToWrite.TabIndex = 10;
			txtWordsToWrite.Text = "50000";
			txtWordsToWrite.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
			ToolTip1.SetToolTip(txtWordsToWrite, "This is the NET TOTAL words you want to write in the specified time.");
			txtStartCount.AcceptsReturn = true;
			txtStartCount.BackColor = System.Drawing.SystemColors.Window;
			txtStartCount.Cursor = System.Windows.Forms.Cursors.IBeam;
			txtStartCount.Font = new System.Drawing.Font("Segoe UI", 10f);
			txtStartCount.ForeColor = System.Drawing.SystemColors.WindowText;
			txtStartCount.Location = new System.Drawing.Point(156, 160);
			txtStartCount.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
			txtStartCount.MaxLength = 6;
			txtStartCount.Name = "txtStartCount";
			txtStartCount.RightToLeft = System.Windows.Forms.RightToLeft.No;
			txtStartCount.Size = new System.Drawing.Size(128, 25);
			txtStartCount.TabIndex = 9;
			txtStartCount.Text = "0";
			txtStartCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
			ToolTip1.SetToolTip(txtStartCount, "Set to Current Word Count or higher if you have already started this project.");
			lblTotalWords.BackColor = System.Drawing.SystemColors.Control;
			lblTotalWords.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
			lblTotalWords.Cursor = System.Windows.Forms.Cursors.Default;
			lblTotalWords.Font = new System.Drawing.Font("Segoe UI", 10f);
			lblTotalWords.ForeColor = System.Drawing.SystemColors.ControlText;
			lblTotalWords.Location = new System.Drawing.Point(353, 256);
			lblTotalWords.Name = "lblTotalWords";
			lblTotalWords.RightToLeft = System.Windows.Forms.RightToLeft.No;
			lblTotalWords.Size = new System.Drawing.Size(128, 33);
			lblTotalWords.TabIndex = 25;
			lblTotalWords.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
			ToolTip1.SetToolTip(lblTotalWords, "Number of words in project.");
			lblMid.BackColor = System.Drawing.SystemColors.Control;
			lblMid.Cursor = System.Windows.Forms.Cursors.Default;
			lblMid.Font = new System.Drawing.Font("Segoe UI", 10f);
			lblMid.ForeColor = System.Drawing.SystemColors.ControlText;
			lblMid.Location = new System.Drawing.Point(156, 426);
			lblMid.Name = "lblMid";
			lblMid.RightToLeft = System.Windows.Forms.RightToLeft.No;
			lblMid.Size = new System.Drawing.Size(289, 28);
			lblMid.TabIndex = 22;
			lblMid.Text = "0";
			lblMid.TextAlign = System.Drawing.ContentAlignment.TopCenter;
			ToolTip1.SetToolTip(lblMid, "Completed word count");
			lblEnd.BackColor = System.Drawing.SystemColors.Control;
			lblEnd.Cursor = System.Windows.Forms.Cursors.Default;
			lblEnd.Font = new System.Drawing.Font("Segoe UI", 10f);
			lblEnd.ForeColor = System.Drawing.SystemColors.ControlText;
			lblEnd.Location = new System.Drawing.Point(451, 426);
			lblEnd.Name = "lblEnd";
			lblEnd.RightToLeft = System.Windows.Forms.RightToLeft.No;
			lblEnd.Size = new System.Drawing.Size(103, 28);
			lblEnd.TabIndex = 21;
			lblEnd.Text = "0";
			lblEnd.TextAlign = System.Drawing.ContentAlignment.TopRight;
			ToolTip1.SetToolTip(lblEnd, "Target word count");
			lblStart.BackColor = System.Drawing.SystemColors.Control;
			lblStart.Cursor = System.Windows.Forms.Cursors.Default;
			lblStart.Font = new System.Drawing.Font("Segoe UI", 10f);
			lblStart.ForeColor = System.Drawing.SystemColors.ControlText;
			lblStart.Location = new System.Drawing.Point(41, 426);
			lblStart.Name = "lblStart";
			lblStart.RightToLeft = System.Windows.Forms.RightToLeft.No;
			lblStart.Size = new System.Drawing.Size(96, 28);
			lblStart.TabIndex = 20;
			lblStart.Text = "0";
			ToolTip1.SetToolTip(lblStart, "Starting word count");
			lblNumDays.BackColor = System.Drawing.SystemColors.Control;
			lblNumDays.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
			lblNumDays.Cursor = System.Windows.Forms.Cursors.Default;
			lblNumDays.Font = new System.Drawing.Font("Segoe UI", 10f);
			lblNumDays.ForeColor = System.Drawing.SystemColors.ControlText;
			lblNumDays.Location = new System.Drawing.Point(156, 328);
			lblNumDays.Name = "lblNumDays";
			lblNumDays.RightToLeft = System.Windows.Forms.RightToLeft.No;
			lblNumDays.Size = new System.Drawing.Size(128, 33);
			lblNumDays.TabIndex = 16;
			lblNumDays.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
			ToolTip1.SetToolTip(lblNumDays, "Target - (Current Count - Starting Count) / Days Left");
			lblWordsPerDay.BackColor = System.Drawing.SystemColors.Control;
			lblWordsPerDay.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
			lblWordsPerDay.Cursor = System.Windows.Forms.Cursors.Default;
			lblWordsPerDay.Font = new System.Drawing.Font("Segoe UI", 10f);
			lblWordsPerDay.ForeColor = System.Drawing.SystemColors.ControlText;
			lblWordsPerDay.Location = new System.Drawing.Point(353, 328);
			lblWordsPerDay.Name = "lblWordsPerDay";
			lblWordsPerDay.RightToLeft = System.Windows.Forms.RightToLeft.No;
			lblWordsPerDay.Size = new System.Drawing.Size(128, 33);
			lblWordsPerDay.TabIndex = 15;
			lblWordsPerDay.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
			ToolTip1.SetToolTip(lblWordsPerDay, "Target - (Current Count - Starting Count) / Days Left");
			lblProjCount.BackColor = System.Drawing.SystemColors.Control;
			lblProjCount.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
			lblProjCount.Cursor = System.Windows.Forms.Cursors.Default;
			lblProjCount.Font = new System.Drawing.Font("Segoe UI", 10f);
			lblProjCount.ForeColor = System.Drawing.SystemColors.ControlText;
			lblProjCount.Location = new System.Drawing.Point(156, 256);
			lblProjCount.Name = "lblProjCount";
			lblProjCount.RightToLeft = System.Windows.Forms.RightToLeft.No;
			lblProjCount.Size = new System.Drawing.Size(128, 33);
			lblProjCount.TabIndex = 13;
			lblProjCount.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
			ToolTip1.SetToolTip(lblProjCount, "Number of words in project.");
			lblStartDate.BackColor = System.Drawing.SystemColors.Window;
			lblStartDate.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
			lblStartDate.Cursor = System.Windows.Forms.Cursors.Default;
			lblStartDate.Font = new System.Drawing.Font("Segoe UI", 10f);
			lblStartDate.ForeColor = System.Drawing.SystemColors.ControlText;
			lblStartDate.Location = new System.Drawing.Point(156, 115);
			lblStartDate.Name = "lblStartDate";
			lblStartDate.RightToLeft = System.Windows.Forms.RightToLeft.No;
			lblStartDate.Size = new System.Drawing.Size(128, 27);
			lblStartDate.TabIndex = 2;
			lblStartDate.TextAlign = System.Drawing.ContentAlignment.TopCenter;
			ToolTip1.SetToolTip(lblStartDate, "Project Deadline");
			lblEndDate.BackColor = System.Drawing.SystemColors.Window;
			lblEndDate.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
			lblEndDate.Cursor = System.Windows.Forms.Cursors.Default;
			lblEndDate.Font = new System.Drawing.Font("Segoe UI", 10f);
			lblEndDate.ForeColor = System.Drawing.SystemColors.ControlText;
			lblEndDate.Location = new System.Drawing.Point(426, 115);
			lblEndDate.Name = "lblEndDate";
			lblEndDate.RightToLeft = System.Windows.Forms.RightToLeft.No;
			lblEndDate.Size = new System.Drawing.Size(128, 28);
			lblEndDate.TabIndex = 1;
			lblEndDate.TextAlign = System.Drawing.ContentAlignment.TopCenter;
			ToolTip1.SetToolTip(lblEndDate, "Project Deadline");
			cmdSave.BackColor = System.Drawing.SystemColors.Control;
			cmdSave.Cursor = System.Windows.Forms.Cursors.Default;
			cmdSave.Font = new System.Drawing.Font("Segoe UI", 10f);
			cmdSave.ForeColor = System.Drawing.SystemColors.ControlText;
			cmdSave.Location = new System.Drawing.Point(501, 503);
			cmdSave.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
			cmdSave.Name = "cmdSave";
			cmdSave.RightToLeft = System.Windows.Forms.RightToLeft.No;
			cmdSave.Size = new System.Drawing.Size(84, 43);
			cmdSave.TabIndex = 27;
			cmdSave.Text = "Save";
			cmdSave.UseVisualStyleBackColor = true;
			cmdExit.BackColor = System.Drawing.SystemColors.Control;
			cmdExit.Cursor = System.Windows.Forms.Cursors.Default;
			cmdExit.Font = new System.Drawing.Font("Segoe UI", 10f);
			cmdExit.ForeColor = System.Drawing.SystemColors.ControlText;
			cmdExit.Location = new System.Drawing.Point(21, 502);
			cmdExit.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
			cmdExit.Name = "cmdExit";
			cmdExit.RightToLeft = System.Windows.Forms.RightToLeft.No;
			cmdExit.Size = new System.Drawing.Size(84, 43);
			cmdExit.TabIndex = 11;
			cmdExit.Text = "Cancel";
			cmdExit.UseVisualStyleBackColor = true;
			Label11.BackColor = System.Drawing.SystemColors.Control;
			Label11.Cursor = System.Windows.Forms.Cursors.Default;
			Label11.Font = new System.Drawing.Font("Segoe UI", 10f);
			Label11.ForeColor = System.Drawing.SystemColors.ControlText;
			Label11.Location = new System.Drawing.Point(317, 230);
			Label11.Name = "Label11";
			Label11.RightToLeft = System.Windows.Forms.RightToLeft.No;
			Label11.Size = new System.Drawing.Size(209, 26);
			Label11.TabIndex = 26;
			Label11.Text = "Total words at end date:";
			Label11.TextAlign = System.Drawing.ContentAlignment.TopCenter;
			lblStatus.BackColor = System.Drawing.Color.Transparent;
			lblStatus.Cursor = System.Windows.Forms.Cursors.Default;
			lblStatus.Font = new System.Drawing.Font("Segoe UI", 10f);
			lblStatus.ForeColor = System.Drawing.Color.Red;
			lblStatus.Location = new System.Drawing.Point(85, 454);
			lblStatus.Name = "lblStatus";
			lblStatus.RightToLeft = System.Windows.Forms.RightToLeft.No;
			lblStatus.Size = new System.Drawing.Size(430, 33);
			lblStatus.TabIndex = 19;
			lblStatus.Text = "Status";
			lblStatus.TextAlign = System.Drawing.ContentAlignment.TopCenter;
			Label9.BackColor = System.Drawing.SystemColors.Control;
			Label9.Cursor = System.Windows.Forms.Cursors.Default;
			Label9.Font = new System.Drawing.Font("Segoe UI", 10f);
			Label9.ForeColor = System.Drawing.SystemColors.ControlText;
			Label9.Location = new System.Drawing.Point(128, 305);
			Label9.Name = "Label9";
			Label9.RightToLeft = System.Windows.Forms.RightToLeft.No;
			Label9.Size = new System.Drawing.Size(183, 23);
			Label9.TabIndex = 17;
			Label9.Text = "Number of days left:";
			Label9.TextAlign = System.Drawing.ContentAlignment.TopCenter;
			Label7.BackColor = System.Drawing.SystemColors.Control;
			Label7.Cursor = System.Windows.Forms.Cursors.Default;
			Label7.Font = new System.Drawing.Font("Segoe UI", 10f);
			Label7.ForeColor = System.Drawing.SystemColors.ControlText;
			Label7.Location = new System.Drawing.Point(317, 305);
			Label7.Name = "Label7";
			Label7.RightToLeft = System.Windows.Forms.RightToLeft.No;
			Label7.Size = new System.Drawing.Size(195, 23);
			Label7.TabIndex = 14;
			Label7.Text = "Words to write per day:";
			Label7.TextAlign = System.Drawing.ContentAlignment.TopCenter;
			Label6.BackColor = System.Drawing.SystemColors.Control;
			Label6.Cursor = System.Windows.Forms.Cursors.Default;
			Label6.Font = new System.Drawing.Font("Segoe UI", 10f);
			Label6.ForeColor = System.Drawing.SystemColors.ControlText;
			Label6.Location = new System.Drawing.Point(116, 230);
			Label6.Name = "Label6";
			Label6.RightToLeft = System.Windows.Forms.RightToLeft.No;
			Label6.Size = new System.Drawing.Size(195, 26);
			Label6.TabIndex = 12;
			Label6.Text = "Words in Project now:";
			Label6.TextAlign = System.Drawing.ContentAlignment.TopCenter;
			Label5.BackColor = System.Drawing.SystemColors.Control;
			Label5.Cursor = System.Windows.Forms.Cursors.Default;
			Label5.Font = new System.Drawing.Font("Segoe UI", 10f);
			Label5.ForeColor = System.Drawing.SystemColors.ControlText;
			Label5.Location = new System.Drawing.Point(314, 163);
			Label5.Name = "Label5";
			Label5.RightToLeft = System.Windows.Forms.RightToLeft.No;
			Label5.Size = new System.Drawing.Size(106, 24);
			Label5.TabIndex = 8;
			Label5.Text = "Words to write:";
			Label5.TextAlign = System.Drawing.ContentAlignment.TopRight;
			Label4.BackColor = System.Drawing.SystemColors.Control;
			Label4.Cursor = System.Windows.Forms.Cursors.Default;
			Label4.Font = new System.Drawing.Font("Segoe UI", 10f);
			Label4.ForeColor = System.Drawing.SystemColors.ControlText;
			Label4.Location = new System.Drawing.Point(41, 163);
			Label4.Name = "Label4";
			Label4.RightToLeft = System.Windows.Forms.RightToLeft.No;
			Label4.Size = new System.Drawing.Size(110, 22);
			Label4.TabIndex = 6;
			Label4.Text = "Starting count:";
			Label4.TextAlign = System.Drawing.ContentAlignment.TopRight;
			Label3.BackColor = System.Drawing.SystemColors.Control;
			Label3.Cursor = System.Windows.Forms.Cursors.Default;
			Label3.Font = new System.Drawing.Font("Segoe UI", 10f);
			Label3.ForeColor = System.Drawing.SystemColors.ControlText;
			Label3.Location = new System.Drawing.Point(53, 116);
			Label3.Name = "Label3";
			Label3.RightToLeft = System.Windows.Forms.RightToLeft.No;
			Label3.Size = new System.Drawing.Size(97, 27);
			Label3.TabIndex = 5;
			Label3.Text = "Start Date:";
			Label3.TextAlign = System.Drawing.ContentAlignment.TopRight;
			Label2.BackColor = System.Drawing.SystemColors.Control;
			Label2.Cursor = System.Windows.Forms.Cursors.Default;
			Label2.Font = new System.Drawing.Font("Segoe UI", 10f);
			Label2.ForeColor = System.Drawing.SystemColors.ControlText;
			Label2.Location = new System.Drawing.Point(326, 116);
			Label2.Name = "Label2";
			Label2.RightToLeft = System.Windows.Forms.RightToLeft.No;
			Label2.Size = new System.Drawing.Size(93, 28);
			Label2.TabIndex = 4;
			Label2.Text = "End Date:";
			Label2.TextAlign = System.Drawing.ContentAlignment.TopRight;
			cmdHelp.Font = new System.Drawing.Font("Segoe UI", 10f);
			cmdHelp.Location = new System.Drawing.Point(182, 502);
			cmdHelp.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
			cmdHelp.Name = "cmdHelp";
			cmdHelp.Size = new System.Drawing.Size(87, 43);
			cmdHelp.TabIndex = 28;
			cmdHelp.Text = "Help";
			cmdHelp.UseVisualStyleBackColor = true;
			ProgressBar1.Location = new System.Drawing.Point(41, 394);
			ProgressBar1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
			ProgressBar1.Name = "ProgressBar1";
			ProgressBar1.Size = new System.Drawing.Size(513, 19);
			ProgressBar1.TabIndex = 29;
			lblTitle.BackColor = System.Drawing.SystemColors.Window;
			lblTitle.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
			lblTitle.Location = new System.Drawing.Point(168, 19);
			lblTitle.Name = "lblTitle";
			lblTitle.Size = new System.Drawing.Size(317, 27);
			lblTitle.TabIndex = 30;
			lblAuthor.BackColor = System.Drawing.SystemColors.Window;
			lblAuthor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
			lblAuthor.Location = new System.Drawing.Point(168, 58);
			lblAuthor.Name = "lblAuthor";
			lblAuthor.Size = new System.Drawing.Size(317, 28);
			lblAuthor.TabIndex = 31;
			Label1.BackColor = System.Drawing.SystemColors.Control;
			Label1.Cursor = System.Windows.Forms.Cursors.Default;
			Label1.Font = new System.Drawing.Font("Segoe UI", 10f);
			Label1.ForeColor = System.Drawing.SystemColors.ControlText;
			Label1.Location = new System.Drawing.Point(51, 20);
			Label1.Name = "Label1";
			Label1.RightToLeft = System.Windows.Forms.RightToLeft.No;
			Label1.Size = new System.Drawing.Size(97, 27);
			Label1.TabIndex = 5;
			Label1.Text = "Project Title:";
			Label1.TextAlign = System.Drawing.ContentAlignment.TopRight;
			Label8.BackColor = System.Drawing.SystemColors.Control;
			Label8.Cursor = System.Windows.Forms.Cursors.Default;
			Label8.Font = new System.Drawing.Font("Segoe UI", 10f);
			Label8.ForeColor = System.Drawing.SystemColors.ControlText;
			Label8.Location = new System.Drawing.Point(51, 59);
			Label8.Name = "Label8";
			Label8.RightToLeft = System.Windows.Forms.RightToLeft.No;
			Label8.Size = new System.Drawing.Size(97, 27);
			Label8.TabIndex = 5;
			Label8.Text = "Author:";
			Label8.TextAlign = System.Drawing.ContentAlignment.TopRight;
			base.AutoScaleDimensions = new System.Drawing.SizeF(7f, 17f);
			base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			BackColor = System.Drawing.SystemColors.Control;
			base.ClientSize = new System.Drawing.Size(597, 559);
			base.Controls.Add(lblAuthor);
			base.Controls.Add(lblTitle);
			base.Controls.Add(ProgressBar1);
			base.Controls.Add(cmdHelp);
			base.Controls.Add(cmdSave);
			base.Controls.Add(cmdCopy);
			base.Controls.Add(cmdExit);
			base.Controls.Add(txtWordsToWrite);
			base.Controls.Add(txtStartCount);
			base.Controls.Add(Label11);
			base.Controls.Add(lblTotalWords);
			base.Controls.Add(lblMid);
			base.Controls.Add(lblEnd);
			base.Controls.Add(lblStart);
			base.Controls.Add(lblStatus);
			base.Controls.Add(Label9);
			base.Controls.Add(lblNumDays);
			base.Controls.Add(lblWordsPerDay);
			base.Controls.Add(Label7);
			base.Controls.Add(lblProjCount);
			base.Controls.Add(Label6);
			base.Controls.Add(Label5);
			base.Controls.Add(Label4);
			base.Controls.Add(Label8);
			base.Controls.Add(Label1);
			base.Controls.Add(Label3);
			base.Controls.Add(lblStartDate);
			base.Controls.Add(lblEndDate);
			base.Controls.Add(Label2);
			Cursor = System.Windows.Forms.Cursors.Default;
			DoubleBuffered = true;
			Font = new System.Drawing.Font("Segoe UI", 10f);
			base.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
			base.Location = new System.Drawing.Point(3, 22);
			base.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
			base.MaximizeBox = false;
			base.MinimizeBox = false;
			base.Name = "frmWordTarget";
			RightToLeft = System.Windows.Forms.RightToLeft.No;
			base.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
			Text = "Word Count Target";
			ResumeLayout(false);
			PerformLayout();
		}

		public frmWordTarget(ref clsProject ProjectClass)
		{
			base.Load += frmWordTarget_Load;
			base.FormClosing += frmWordTarget_FormClosing;
			SuppressChange = true;
			InitializeComponent();
			SuppressChange = false;
			cProject = ProjectClass;
		}

		private void cmdCopy_Click(object eventSender, EventArgs eventArgs)
		{
			txtStartCount.Text = lblProjCount.Text;
			Recalc();
		}

		private void cmdExit_Click(object eventSender, EventArgs eventArgs)
		{
			Hide();
			cDelay.DoEvents();
		}

		private void cmdSave_Click(object eventSender, EventArgs eventArgs)
		{
			SaveValues();
			Hide();
			cDelay.DoEvents();
		}

		private void frmWordTarget_Load(object eventSender, EventArgs eventArgs)
		{
			//Discarded unreachable code: IL_01ab, IL_01c2, IL_01cd, IL_01dd, IL_024b, IL_024d, IL_0261, IL_0283
			int num = default(int);
			int num3 = default(int);
			try
			{
				ProjectData.ClearProjectError();
				num = 2;
				int num2 = 2;
				SuppressChange = true;
				num2 = 3;
				lblStatus.Text = "";
				num2 = 4;
				Text = "Project word count target (yWriter (c) Spacejock Software)";
				num2 = 5;
				base.Icon = Resources.yWriter5_Ico;
				num2 = 6;
				lblTitle.Text = cProject.Title;
				num2 = 7;
				lblAuthor.Text = cProject.AuthorName;
				num2 = 8;
				lblProjCount.Text = Conversions.ToString(cProject.Wordcount());
				num2 = 9;
				if ((long)Math.Round(cProject.WordTargetEndDate.ToOADate()) > 0)
				{
					num2 = 10;
					lblEndDate.Text = Conversions.ToString(cProject.WordTargetEndDate);
				}
				else
				{
					num2 = 12;
					lblEndDate.Text = Conversions.ToString(DateAndTime.Now.Date.AddDays(30.0));
				}
				num2 = 13;
				if ((long)Math.Round(cProject.WordTargetStartDate.ToOADate()) > 0)
				{
					num2 = 14;
					lblStartDate.Text = Conversions.ToString(cProject.WordTargetStartDate);
				}
				else
				{
					num2 = 16;
					lblStartDate.Text = Conversions.ToString(DateAndTime.Now.Date);
				}
				num2 = 17;
				txtWordsToWrite.Text = Conversions.ToString(cProject.WordTarget);
				num2 = 18;
				txtStartCount.Text = Conversions.ToString(cProject.WordCountStart);
				num2 = 19;
				SuppressChange = false;
				num2 = 20;
				Recalc();
			}
			catch (Exception obj) when ((obj is Exception && num != 0) & (num3 == 0))
			{
				ProjectData.SetProjectError((Exception)obj);
				/*Error near IL_0281: Could not find block for branch target IL_024d*/;
			}
			if (num3 != 0)
			{
				ProjectData.ClearProjectError();
			}
		}

		private void Recalc()
		{
			//Discarded unreachable code: IL_03d5, IL_03ec, IL_03f7, IL_0407, IL_04f1, IL_04f3, IL_0507, IL_0529
			int num = default(int);
			int num9 = default(int);
			try
			{
				ProjectData.ClearProjectError();
				num = 2;
				int num2 = 2;
				if (!SuppressChange)
				{
					num2 = 4;
					if (!_0024STATIC_0024Recalc_00242001_0024Calculating)
					{
						num2 = 6;
						_0024STATIC_0024Recalc_00242001_0024Calculating = true;
						num2 = 7;
						new clsProgress();
						num2 = 8;
						ProgressBar1.Minimum = 0;
						num2 = 9;
						ProgressBar1.Maximum = 1;
						num2 = 10;
						ProgressBar1.Value = 0;
						num2 = 11;
						lblStart.Text = "";
						num2 = 12;
						lblMid.Text = "";
						num2 = 13;
						lblEnd.Text = "";
						num2 = 14;
						lblTotalWords.Text = "";
						num2 = 15;
						lblEnd.ForeColor = SystemColors.WindowText;
						num2 = 16;
						lblWordsPerDay.Text = "N/A";
						num2 = 17;
						lblNumDays.Text = "N/A";
						num2 = 18;
						lblStatus.Text = "";
						num2 = 19;
						int num3 = (int)Math.Round(Conversion.Val(txtStartCount.Text));
						num2 = 20;
						int num4;
						if (DateTime.Compare(DateAndTime.Now, DateAndTime.DateValue(lblStartDate.Text)) > 0)
						{
							num2 = 21;
							num4 = (int)Math.Round(DateAndTime.DateValue(lblEndDate.Text).ToOADate() - (double)(int)Math.Round(Conversion.Fix(DateAndTime.Now.ToOADate())));
						}
						else
						{
							num2 = 23;
							num4 = (int)Math.Round(DateAndTime.DateValue(lblEndDate.Text).ToOADate() - DateAndTime.DateValue(lblStartDate.Text).ToOADate() + 1.0);
						}
						num2 = 24;
						if (num4 <= 0)
						{
							num2 = 25;
							lblStatus.Text = "Please ensure the end date is ahead of today's date";
							num2 = 26;
							lblEnd.ForeColor = cColours.RedInk;
							num2 = 27;
							_0024STATIC_0024Recalc_00242001_0024Calculating = false;
						}
						else
						{
							num2 = 29;
							lblNumDays.Text = Conversions.ToString(num4);
							num2 = 30;
							if (Conversions.ToDouble(txtWordsToWrite.Text) == 0.0)
							{
								num2 = 31;
								lblStatus.Text = "Need a TARGET word count";
								num2 = 32;
								_0024STATIC_0024Recalc_00242001_0024Calculating = false;
							}
							else
							{
								num2 = 34;
								int num5 = (int)Math.Round(Conversions.ToDouble(lblProjCount.Text) - Conversion.Val(txtStartCount.Text));
								num2 = 35;
								int num6 = (int)Math.Round(Conversion.Val(txtWordsToWrite.Text));
								num2 = 36;
								float num7 = (float)((double)num5 / ((double)num6 + 0.0001));
								num2 = 37;
								int num8 = (int)Math.Round((double)(num6 - num5) / (double)num4);
								num2 = 38;
								if (num8 < 0)
								{
									num2 = 39;
									lblStatus.Text = "Word count achieved";
									num2 = 40;
									_0024STATIC_0024Recalc_00242001_0024Calculating = false;
								}
								else
								{
									num2 = 42;
									lblWordsPerDay.Text = Conversions.ToString(num8);
									num2 = 43;
									lblTotalWords.Text = Conversions.ToString(num3 + num6);
									num2 = 44;
									lblMid.Text = Conversions.ToString(num5) + " done (" + Strings.Format(num7, "0.0%") + ")";
									num2 = 45;
									ProgressBar1.Minimum = 0;
									num2 = 46;
									ProgressBar1.Maximum = num6;
									num2 = 47;
									ProgressBar1.Value = num5;
									num2 = 48;
									lblStatus.Text = "You need to write " + Conversions.ToString(num6 - num5) + " more words";
									num2 = 49;
									lblStart.Text = Conversions.ToString(num3);
									num2 = 50;
									lblEnd.Text = Conversions.ToString(num3 + num6);
									num2 = 51;
									_0024STATIC_0024Recalc_00242001_0024Calculating = false;
								}
							}
						}
					}
				}
			}
			catch (Exception obj) when ((obj is Exception && num != 0) & (num9 == 0))
			{
				ProjectData.SetProjectError((Exception)obj);
				/*Error near IL_0527: Could not find block for branch target IL_04f3*/;
			}
			if (num9 != 0)
			{
				ProjectData.ClearProjectError();
			}
		}

		private void SaveValues()
		{
			//Discarded unreachable code: IL_008b, IL_00b5, IL_00b7, IL_00c7, IL_00e9
			int num = default(int);
			int num3 = default(int);
			try
			{
				ProjectData.ClearProjectError();
				num = 1;
				int num2 = 2;
				cProject.WordTargetEndDate = DateAndTime.DateValue(lblEndDate.Text);
				num2 = 3;
				cProject.WordTargetStartDate = DateAndTime.DateValue(lblStartDate.Text);
				num2 = 4;
				cProject.WordCountStart = Conversions.ToInteger(txtStartCount.Text);
				num2 = 5;
				cProject.WordTarget = Conversions.ToInteger(txtWordsToWrite.Text);
				num2 = 6;
				cProject.QuickSave();
			}
			catch (Exception obj) when ((obj is Exception && num != 0) & (num3 == 0))
			{
				ProjectData.SetProjectError((Exception)obj);
				/*Error near IL_00e7: Could not find block for branch target IL_00b7*/;
			}
			if (num3 != 0)
			{
				ProjectData.ClearProjectError();
			}
		}

		private void frmWordTarget_FormClosing(object eventSender, FormClosingEventArgs eventArgs)
		{
			bool cancel = eventArgs.Cancel;
			_ = eventArgs.CloseReason;
			_ = 3;
			eventArgs.Cancel = cancel;
		}

		private void lblEndDate_Click(object eventSender, EventArgs eventArgs)
		{
			//Discarded unreachable code: IL_0091, IL_00a8, IL_00b3, IL_00c0, IL_00fa, IL_00fc, IL_0110, IL_0132
			int num = default(int);
			int num3 = default(int);
			try
			{
				ProjectData.ClearProjectError();
				num = 2;
				int num2 = 2;
				if (!Information.IsDate(lblEndDate.Text))
				{
					num2 = 3;
					lblEndDate.Text = Conversions.ToString(DateAndTime.Now.Date);
				}
				num2 = 4;
				DateTime date = clsShared.cGetDate.GetDate("End date", DateAndTime.DateValue(lblEndDate.Text));
				num2 = 5;
				if ((long)Math.Round(date.ToOADate()) != 0L)
				{
					num2 = 6;
					lblEndDate.Text = Conversions.ToString(date.Date);
				}
				num2 = 7;
				Recalc();
			}
			catch (Exception obj) when ((obj is Exception && num != 0) & (num3 == 0))
			{
				ProjectData.SetProjectError((Exception)obj);
				/*Error near IL_0130: Could not find block for branch target IL_00fc*/;
			}
			if (num3 != 0)
			{
				ProjectData.ClearProjectError();
			}
		}

		private void lblStartDate_Click(object eventSender, EventArgs eventArgs)
		{
			//Discarded unreachable code: IL_0091, IL_00a8, IL_00b3, IL_00c0, IL_00fa, IL_00fc, IL_0110, IL_0132
			int num = default(int);
			int num3 = default(int);
			try
			{
				ProjectData.ClearProjectError();
				num = 2;
				int num2 = 2;
				if (!Information.IsDate(lblStartDate.Text))
				{
					num2 = 3;
					lblStartDate.Text = Conversions.ToString(DateAndTime.Now.Date);
				}
				num2 = 4;
				DateTime date = clsShared.cGetDate.GetDate("Start date", DateAndTime.DateValue(lblStartDate.Text));
				num2 = 5;
				if ((long)Math.Round(date.ToOADate()) != 0L)
				{
					num2 = 6;
					lblStartDate.Text = Conversions.ToString(date.Date);
				}
				num2 = 7;
				Recalc();
			}
			catch (Exception obj) when ((obj is Exception && num != 0) & (num3 == 0))
			{
				ProjectData.SetProjectError((Exception)obj);
				/*Error near IL_0130: Could not find block for branch target IL_00fc*/;
			}
			if (num3 != 0)
			{
				ProjectData.ClearProjectError();
			}
		}

		private void txtEndCount_TextChanged(object eventSender, EventArgs eventArgs)
		{
			Recalc();
		}

		private void txtStartCount_TextChanged(object eventSender, EventArgs eventArgs)
		{
			Recalc();
		}

		private void cmdHelp_Click(object sender, EventArgs e)
		{
			clsShared.cLang.TransMsgBox("Enter the start and end dates, number of words to write and your starting word count.(Target is the number of words you have to write between the given dates, NOT the finished word count.");
		}
	}
}
